package com.hoshiicloud.user.param.store;

import io.swagger.annotations.ApiParam;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.*;
import lombok.experimental.Accessors;

import javax.validation.constraints.NotNull;
import java.time.LocalDateTime;
import java.io.Serializable;

/**
* <p>
* 新增店铺经营类目参数
* </p>
*
* @author zhangshuhu
* @since 2019-04-28
*/

@Data
@Builder
@NoArgsConstructor
@AllArgsConstructor
@Accessors(chain = true)
@EqualsAndHashCode(callSuper = false)
@ApiModel(value="新增店铺经营类目", description="新增店铺经营类目")
public class StoreGoodsCategoryAddParam implements Serializable {
    private static final long serialVersionUID = 1L;


    @ApiModelProperty(value = "店铺ID")
    @NotNull(message = "店铺ID不能为空")
    private Long storeId;

    @ApiModelProperty(value = "商品类目")
    @NotNull(message = "商品类目ID不能为空")
    private Long categoryId;

    @ApiModelProperty(value = "权重")
    private Integer weight;

    @ApiModelProperty(value = "排序")
    private Long ordered;

    @ApiModelProperty(value = "是否可用（0-否 1-是）")
    private Integer enabled;

    @ApiModelProperty(value = "建立人")
    private String createdBy;

}
